package ace.tool.generate.code.test.core.config;

import lombok.AllArgsConstructor;
import org.mockito.Mockito;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.security.oauth2.server.resource.introspection.OpaqueTokenIntrospector;

/**
 * @author caspar
 * @date 2023/2/14 11:46
 */
@Configuration
@AllArgsConstructor
public class BootstrapAutoConfig {
  @Bean
  public OpaqueTokenIntrospector introspector() {
    return Mockito.mock(OpaqueTokenIntrospector.class);
  }
}
